package com.rcadmin.busi.web.ddl;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 模板分组KEY
 * 
 * @author tanson lam
 * @createDate 2014年12月2日
 * 
 */
@Entity
@Table(name = "web_template_groupkey")
public class WebTemplateGroupkey implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue
	private Integer id;
	@Column(name = "name")
	private String name;
	@Column(name = "user_id")
	private Integer userId;
	@Column(name = "group_type")
	private String groupType;
	@Column(name = "template_package_id")
	private Integer templatePackageId;
	@Column(name = "group_key")
	private String groupKey;
	@Column(name = "resource_key")
	private String resourceKey;
	@Column(name = "iseff")
	private String iseff;
	@Column(name = "create_time")
	private Timestamp createTime;
	@Column(name = "last_update")
	private Timestamp lastUpdate;

	public WebTemplateGroupkey() {

	}

	public String getResourceKey() {
		return resourceKey;
	}

	public void setResourceKey(String resourceKey) {
		this.resourceKey = resourceKey;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getTemplatePackageId() {
		return templatePackageId;
	}

	public void setTemplatePackageId(Integer templatePackageId) {
		this.templatePackageId = templatePackageId;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public String getGroupKey() {
		return groupKey;
	}

	public Integer getId() {
		return id;
	}

	public String getIseff() {
		return iseff;
	}

	public Timestamp getLastUpdate() {
		return lastUpdate;
	}

	public String getName() {
		return name;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public void setGroupKey(String groupKey) {
		this.groupKey = groupKey;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setIseff(String iseff) {
		this.iseff = iseff;
	}

	public void setLastUpdate(Timestamp lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGroupType() {
		return groupType;
	}

	public void setGroupType(String groupType) {
		this.groupType = groupType;
	}

}
